package com.chinasoft.tw.service.fengjunhestu;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class fengjunhesecond implements TrueWord {
    String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public fengjunhesecond() {
        this.name = "std_fengjunhe";
        wordList.add("我是冯俊赫");
    }

    @Override
    public Info getTrueWord() {
        Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
        return info;
    }
}
